package com.blb.zycommunity.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 房屋绑定记录表 
 * </p>
 *
 * @author chenheng
 * @since 2023-11-20
 */
@TableName("zy_owner_room_record")
@Data
@ApiModel(value = "ZyOwnerRoomRecord对象", description = "房屋绑定记录表 ")
public class ZyOwnerRoomRecord implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("房屋绑定记录id")
    private Long recordId;

    @ApiModelProperty("房屋绑定id")
    private String ownerRoomId;

    @ApiModelProperty("小区id")
    private Long communityId;

    @ApiModelProperty("楼栋id")
    private Long buildingId;

    @ApiModelProperty("单元id")
    private Long unitId;

    @ApiModelProperty("房间id")
    private Long roomId;

    @ApiModelProperty("业主id")
    private Long ownerId;

    @ApiModelProperty("业主类型")
    private String ownerType;

    @ApiModelProperty("绑定状态（0审核中 1绑定 2审核失败,3解绑）")
    private String roomStatus;

    @ApiModelProperty("审核意见")
    private String recordAuditOpinion;

    @ApiModelProperty("审核人类型")
    private String recordAuditType;

    @ApiModelProperty("创建人id")
    private Long createById;

    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新者")
    private String updateBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String remark;


    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public String getOwnerRoomId() {
        return ownerRoomId;
    }

    public void setOwnerRoomId(String ownerRoomId) {
        this.ownerRoomId = ownerRoomId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public Long getBuildingId() {
        return buildingId;
    }

    public void setBuildingId(Long buildingId) {
        this.buildingId = buildingId;
    }

    public Long getUnitId() {
        return unitId;
    }

    public void setUnitId(Long unitId) {
        this.unitId = unitId;
    }

    public Long getRoomId() {
        return roomId;
    }

    public void setRoomId(Long roomId) {
        this.roomId = roomId;
    }

    public Long getOwnerId() {
        return ownerId;
    }

    public void setOwnerId(Long ownerId) {
        this.ownerId = ownerId;
    }

    public String getOwnerType() {
        return ownerType;
    }

    public void setOwnerType(String ownerType) {
        this.ownerType = ownerType;
    }

    public String getRoomStatus() {
        return roomStatus;
    }

    public void setRoomStatus(String roomStatus) {
        this.roomStatus = roomStatus;
    }

    public String getRecordAuditOpinion() {
        return recordAuditOpinion;
    }

    public void setRecordAuditOpinion(String recordAuditOpinion) {
        this.recordAuditOpinion = recordAuditOpinion;
    }

    public String getRecordAuditType() {
        return recordAuditType;
    }

    public void setRecordAuditType(String recordAuditType) {
        this.recordAuditType = recordAuditType;
    }

    public Long getCreateById() {
        return createById;
    }

    public void setCreateById(Long createById) {
        this.createById = createById;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "ZyOwnerRoomRecord{" +
            "recordId = " + recordId +
            ", ownerRoomId = " + ownerRoomId +
            ", communityId = " + communityId +
            ", buildingId = " + buildingId +
            ", unitId = " + unitId +
            ", roomId = " + roomId +
            ", ownerId = " + ownerId +
            ", ownerType = " + ownerType +
            ", roomStatus = " + roomStatus +
            ", recordAuditOpinion = " + recordAuditOpinion +
            ", recordAuditType = " + recordAuditType +
            ", createById = " + createById +
            ", createBy = " + createBy +
            ", createTime = " + createTime +
            ", updateBy = " + updateBy +
            ", updateTime = " + updateTime +
            ", remark = " + remark +
        "}";
    }
}
